package com.zw.yzk.kabu.data.network.service;

import com.zw.yzk.kabu.data.network.entity.MessageListEntity;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by zhanwei on 2017/1/12.
 */

public interface MessageListService {

    @GET("api/cp_message")
    Observable<MessageListEntity> getMessageList(@Query("user_id") String userId,
                                                 @Query("access_token") String token,
                                                 @Query("last_id") int lastId,
                                                 @Query("size") int size,
                                                 @Query("message_type") int message_type);
}
